Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / PictureCollection Class / Insert Method / Insert(Byte[],String,InsertLocation) Method
The image data representing the picture.
The content type of the image data.
The target InsertLocation for the insertion.

In This Topic
    Insert(Byte[],String,InsertLocation) Method
    In This Topic
    Inserts a Picture into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal imageBytes() As System.Byte, _
       ByVal contentType As System.String, _
       ByVal location As InsertLocation _
    ) As Picture
    public Picture Insert( 
       System.byte[] imageBytes,
       System.string contentType,
       InsertLocation location
    )

    Parameters

    imageBytes
    The image data representing the picture.
    contentType
    The content type of the image data.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted Picture.
    See Also